import ajax from "../common/fui-request.js"

export const SystemApi = {
	getDeptTeamUser: () => ajax.get('/sys/common/dept/team/user', {}, ),
	getDicList: () => ajax.get('/system/dict/data/cache', {}, ),
	getDeptList: () => ajax.get('/system/dept/cache', {}, ),
	getUserList: () => ajax.get('/system/user/cache', {}, ),
	getTeamList: () => ajax.get('/system/team/cache', {}),
	getTeamUserList: () => ajax.get('/system/team/getSysTeamUser', {}),
	// 获取系统配置
	getSystemConfig: (key) => ajax.get('/sys/', key, ),
	// 获取登录用户信息
	getUserInfo: () => ajax.get('/system/user/profile/getInfo', null, ),
	// 获取当前登录用户 小组信息
	getCurrentTeams: () => ajax.get('/system/team/mine', {})


}